import { defineStore } from 'pinia'

import {loginApi} from '../api/login'
import {loginTs} from '../type/loginType'

export const useLoginZhuCeStore = defineStore('login', {

    state: () => {
        return {

        }
    },
    actions:{
        async test(data:loginTs){

            const res = await loginApi(data)
            alert(res)
            console.log("测试")
        }
    }

})